package com.yan.work.domain;

import java.util.Scanner;

public class RemoteControl {
    public void controlTV(TV tv){
        System.out.println("遥控器遥控电视");
        Scanner input = new Scanner(System.in);
        System.out.println("输入电视节目");
        tv.play(input.next());
    }
}
